-
Notifications
You must be signed in to change notification settings - Fork 621
Update RPC usage charts to handle string values and improve visualization #6766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update RPC usage charts to handle string values and improve visualization #6766
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6766 +/- ##
=======================================
Coverage 55.17% 55.17%
=======================================
Files 896 896
Lines 56903 56903
Branches 3940 3940
=======================================
Hits 31396 31396
Misses 25411 25411
Partials 96 96
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
…tion (#6766) # Update RPC Usage Dashboard with Enhanced Visualization This PR updates the RPC usage dashboard to improve data visualization and fix type issues: - Changed numeric types in API response to strings for better precision - Added peak RPS data to the rate graph for more comprehensive monitoring - Implemented a "maxLine" feature to replace the previous maxLimit approach for clearer rate limit visualization - Added support for both stacked and individual chart variants - Fixed date formatting by properly handling UTC timezone with 'Z' suffix - Updated cache key to "rpc-usage-last-24-hours:v2" to ensure fresh data after changes - Removed unnecessary CardFooter component and simplified chart rendering logic - Enhanced tooltip display for better readability These changes provide users with more accurate and detailed information about their RPC usage patterns.
f1adae1 to
5b35a62
Compare

Update RPC Usage Dashboard with Enhanced Visualization
This PR updates the RPC usage dashboard to improve data visualization and fix type issues:
These changes provide users with more accurate and detailed information about their RPC usage patterns.
PR-Codex overview
This PR focuses on changing data types from
numbertostringfor various properties in the usage API and charts, ensuring consistency in data handling. It also simplifies chart components and updates how data is formatted and displayed.Detailed summary
peakRPSandaverageRatetypes fromnumbertostringin several files.CountGraphandRateGraphcomponents to handle new data types.ThirdwebAreaChart.